package day04;

public class ForDemo {
	public static void main(String[] args) {
		/*
		for (int num = 1;num<=9;num++){
			System.out.println(num+"*9="+num*9);
		}
		for (int num = 1;num<=9;num+=2){
			System.out.println(num+"*9="+num*9);
		}
		for (int num = 9;num>=1;num--){
			System.out.println(num+"*9="+num*9);
		}
		for (int times = 0;times<=5;times++){
			System.out.println("成功是行动的阶梯");
		}
		System.out.println("执行继续。。。。。。。");
		
		 */
		int sum = 0;
		for (int i = 0;i<=100;i++){
			sum = sum+i;
		}
		System.out.println("sum="+sum);
		
		
		
		
		
		
	}
}
